#define  _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	char c;
	c = getchar();
	while (c != '\n')
	{
		if ((c <= 90 && c >= 65) || (c >= 97 && c <= 122))
		{
			if ((c <= 90 && c >= 88) || (c >= 120 && c <= 122))
				c -= 23;
			else
				c += 3;
		}
		printf("%c",c);
		c = getchar();
	}
	return 0;
}